package com.lujianfei.powerinput.ui.template.base;

import android.app.Activity;
import android.content.Intent;
import android.widget.LinearLayout;

import com.lujianfei.powerinput.database.TemplateModel;

public interface TemplateAddContract {
    interface View{

        LinearLayout getContainer();

        Activity currentActivity();
    }
    interface Presenter{

        void init();

        void addRow();

        void onActivityResult(int requestCode, int resultCode, Intent data);

        void onTitleRightImageClick();

        void setData(TemplateModel data);
    }
}
